﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="rate.ascx.cs" Inherits="controls_client_rate" %>
<table cellpadding="0" cellspacing="0">
    <tr>
        <td align="center">
            <asp:Panel ID="pRate" runat="server" Width="305px">
                <table width="305" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td colspan="3" align="center">
                            <asp:Label ID="Label1" runat="server" Text="Đánh giá sản phẩm" Font-Bold="True" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" width="150">
                            <asp:Label ID="Label2" runat="server" Text="Chất lượng" Font-Bold="True"></asp:Label>
                        </td>
                        <td rowspan="3" align="center">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/images/bg/link-space.png" 
                                Height="70px" Width="1px" />
                        </td>
                        <td align="center" width="150">
                            <asp:Label ID="Label3" runat="server" Font-Bold="True" Text="Giá cả"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                            <asp:RadioButtonList ID="cboQuality" runat="server">
                                <asp:ListItem Value="3" Selected="True">Tốt</asp:ListItem>
                                <asp:ListItem Value="2">Bình thường</asp:ListItem>
                                <asp:ListItem Value="1">Chưa tốt</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                        <td align="left">
                            <asp:RadioButtonList ID="cboPrice" runat="server">
                                <asp:ListItem Value="3" Selected="True">Hợp lý</asp:ListItem>
                                <asp:ListItem Value="2">Bình thường</asp:ListItem>
                                <asp:ListItem Value="1">Cao</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <span class="round">
                                <span>
                                    <asp:Button ID="btnRate" runat="server" Text="Đánh giá" 
                                
                                
                                style="background-color:Transparent; margin-top:3px; text-shadow: 0px 1px 1px #222;" 
                                CommandName="rate" />
                                </span>
                            </span>
                        </td>
                        <td align="left">
                            <span class="round"><span>
                                <asp:Button ID="btnResult" runat="server" Text="Kết quả" 
                                
                                
                                style="background-color:Transparent; margin-top:3px; text-shadow: 0px 1px 1px #222;" 
                                CommandName="view" />
                            </span></span>
                        </td>
                    </tr>
                </table>                
            </asp:Panel>
            <asp:Panel ID="pResult" runat="server" Width="305px" 
                Visible="False">
                <table border="0" cellpadding="0" cellspacing="0" width="305" align="left">
                    <tr>
                        <td align="center" colspan="5">
                            <asp:Label ID="Label19" runat="server" Text="Kết quả đánh giá" 
                Font-Bold="True" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" width="150">
                            <asp:Label ID="Label20" runat="server" Font-Bold="True" 
                Text="Chất lượng"></asp:Label>
                        </td>
                        <td align="center" rowspan="7" valign="bottom">
                            <asp:Image ID="Image3" runat="server" ImageUrl="~/images/bg/link-space.png" 
                                Height="100px" Width="1px" />
                        </td>
                        <td align="center" colspan="2" width="150">
                            <asp:Label ID="Label21" runat="server" Font-Bold="True" 
                Text="Giá cả"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" width="125" align="left">
                            <asp:Label ID="Label32" runat="server" Font-Bold="False" 
                Font-Size="11px" Text="Tốt"></asp:Label>
                        </td>
                        <td colspan="2" width="125" align="left">
                            <asp:Label ID="Label24" runat="server" Font-Bold="False" 
                Font-Size="11px" Text="Hợp lý"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td valign="middle" width="125" align="left">
                            <asp:Image ID="qGood" runat="server" Height="10px" 
                ImageUrl="~/images/bg/rating-black.png" Width="100%" />
                        </td>
                        <td align="left" width="25">
                            <asp:Label ID="rqGood" runat="server" Font-Bold="True" 
                Font-Size="10px" Text="0%"></asp:Label>
                        </td>
                        <td width="125" align="left">
                            <asp:Image ID="pGood" runat="server" Height="10px" 
                ImageUrl="~/images/bg/rating-black.png" Width="100%" />
                        </td>
                        <td align="left" width="25">
                            <asp:Label ID="rpGood" runat="server" Font-Bold="True" 
                Font-Size="10px" Text="0%"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="left">
                            <asp:Label ID="Label33" runat="server" Font-Bold="False" 
                Font-Size="11px" Text="Bình thường"></asp:Label>
                        </td>
                        <td colspan="2" align="left">
                            <asp:Label ID="Label25" runat="server" Font-Bold="False" 
                Font-Size="11px" Text="Bình thường"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                            <asp:Image ID="qNormal" runat="server" Height="10px" 
                ImageUrl="~/images/bg/rating-yellow.png" Width="100%" />
                        </td>
                        <td align="left">
                            <asp:Label ID="rqNormal" runat="server" Font-Bold="True" 
                Font-Size="10px" Text="0%"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:Image ID="pNormal" runat="server" Height="10px" 
                ImageUrl="~/images/bg/rating-yellow.png" Width="100%" />
                        </td>
                        <td align="left">
                            <asp:Label ID="rpNormal" runat="server" Font-Bold="True" 
                Font-Size="10px" Text="0%"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="left">
                            <asp:Label ID="Label34" runat="server" Font-Bold="False" 
                Font-Size="11px" Text="Chưa tốt"></asp:Label>
                        </td>
                        <td colspan="2" align="left">
                            <asp:Label ID="Label26" runat="server" Font-Bold="False" 
                Font-Size="11px" Text="Cao"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                            <asp:Image ID="qBad" runat="server" Height="10px" 
                ImageUrl="~/images/bg/rating-red.png" Width="100%" />
                        </td>
                        <td align="left">
                            <asp:Label ID="rqBad" runat="server" Font-Bold="True" Font-Size="11px" 
                Text="0%"></asp:Label>
                        </td>
                        <td align="left">
                            <asp:Image ID="pBad" runat="server" Height="10px" 
                ImageUrl="~/images/bg/rating-red.png" Width="100%" />
                        </td>
                        <td align="left">
                            <asp:Label ID="rpBad" runat="server" Font-Bold="True" Font-Size="11px" 
                Text="0%"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="5">
                            <asp:Label ID="rCount" runat="server" ForeColor="Red" 
                                Text="Chưa có đánh giá nào"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="5">
                            <span class="round"><span>
                            <asp:Button ID="btnBack" runat="server" CommandName="back" 
                                style="background-color:Transparent; margin-top:3px; text-shadow: 0px 1px 1px #222;" 
                                Text="Quay lại" />
                            </span></span>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </td>
    </tr>
    </table>


